package com.balabala.gym_user.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author xh
 * @Date: 2023/05/01/ 16:41
 * @description 场馆
 */
@Data
@TableName("tb_venues")
@AllArgsConstructor
@Builder
@NoArgsConstructor
@ApiModel(value = "Venues对象", description = "")
public class Venues implements Serializable {

    /**
     * 主键自增
     */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("场馆id")
    private Long id;

    @ApiModelProperty("场馆名称")
    private String name;

    @ApiModelProperty("场馆电话")
    private Integer phone;

    @ApiModelProperty("场馆地址")
    private String address;

    @ApiModelProperty("场馆邮箱")
    private String email;

    @ApiModelProperty("状态：开发=0；闭馆=1")
    private Integer state;

    @ApiModelProperty("容纳人数")
    private Long capacity;

    @ApiModelProperty("用途")
    private Integer useto;

    @ApiModelProperty("介绍")
    private String introduce;

    @ApiModelProperty("场馆图片")
    private String image;

    @TableField("create_time")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @TableField("update_time")
    @ApiModelProperty("更新时间")
    private Date updateTime;


    /**
     * 逻辑删除标记(0--正常 1--删除)
     */



    @ApiModelProperty("评价")
    private String vecomment;



}
